#ifndef VideoThread_H
#define VideoThread_H

#include <QObject>
#include <QThread>
#include "videodecode.h"

class VideoThread : public QThread
{
    Q_OBJECT
public:
    explicit VideoThread(QObject *parent = nullptr);
    void run();
    void setFFmpeg(VideoDecode * decoder){ tVideoDecode = decoder; }

private:
    VideoDecode *tVideoDecode;

signals:

public slots:

};

#endif // AVFFMPEGCAMERATHREAD_H
